
        <div class="control-group solution">
            <input type="hidden" id="inputPid" name="solution.pid" value="${problem.pid!}">
        </div>
        <div class="control-group">
            <label class="control-label" for="inputLanguage">Language</label>
            <div class="controls">
                <select class="input-small" id="inputLanguage" name="solution.language">
                <#if program_languages??>
                <#list program_languages as language>
                <option value="${language.id!}" <#if (solution.language)??><#if solution.language==language.id>selected</#if><#else><#if user.language==language.id>selected</#if></#if>>${language.name!}</option>
                </#list>
                </#if>
                </select>
            </div>
        </div>
        <div class="control-group solution">
            <label class="control-label" for="inputSource">Source Code</label>
            <div class="controls">
                <textarea id="inputSource" minlength="10" maxlength="30000" name="solution.source" rows="20" cols="120" required>${(solution.source)!}</textarea>
            </div>
        </div>
     
    <script src='assets/jquery-validation/dist/jquery.validate.min.js' type='text/javascript'></script>
    <script language="javascript" type="text/javascript">   
		document.onkeydown=null;
		$().ready(function() {
			$("#submitForm").validate();
		});
	</script>
	
    <noscript>
    <base href="${baseUrl!}"/>
    <link href="assets/bootstrap/css/bootstrap.css" rel="stylesheet">
    <div class="span5 offset4">
        <div class="alert alert-error">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <h4>Your Browser disabled JavaScript!</h4>
            <a href="problem/submit/${problem.pid!}">click here to Submit</a>
        </div>
    </div>
    <noscript>
